package org.example.创建型模式.抽象工厂模式.重构代码.Redis双集群升级_抽象工厂;

import java.util.concurrent.TimeUnit;

public interface CacheService {

    String get(final String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);

}
